package com.heima.mapper;

import com.heima.pojo.KsClass;
import com.heima.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 班级相关功能
 */
@Mapper
public interface KsClassMapper {

    List<KsClass> selectAll();

    @Select("select * from ks_class where id = #{id}")
    KsClass findById(Integer id);

}
